#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "ui_mainwindow.h"
#include <QMainWindow>
#include "child_dialog.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

//此MainWindow非Ui::MainWindow
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow()override;

private:
    Ui::MainWindow *ui;
    child_dialog * child;
public slots:
    void showchild();
    void showmainwindow();
};
#endif // MAINWINDOW_H
